import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;

public final class am extends DataOutputStream
{

    public am()
    {
        this(512);
    }

    public am(int i)
    {
        super(new e(i));
    }

    public final e a()
    {
        return (e)super.out;
    }

    public final byte[] b()
    {
        return a().toByteArray();
    }
}